package cn.com.cdboost.udf;

import org.apache.flink.table.functions.ScalarFunction;

/**
 * @author ZackYoung
 * @since 1.0.0
 */
public class Time2StringFunction extends ScalarFunction {
    public String eval(Object timeField) {
        if (timeField == null) {
            return null;
        }
        return timeField.toString();
    }
}
